package com.example.demo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/8/3 21:49
 */
@Data
@TableName(value = "s")
public class User {
    @TableId(value = "sno",type = IdType.AUTO)
    private Integer sno;
    @TableField(value = "name")
    private  String name;
    @TableField(value = "age")
    private Integer age;
}
